package com.wuwei.elearning.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuwei.elearning.question.domain.Video;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface VideoService extends IService<Video> {
    void uploadVideo(MultipartFile file);

    List<Video> selectList(String name, int currentPage, int pageSize);

    Long selectTotal(String name);

    void deleteByUrl(Video video);

    List<Video> getAll();

    Long selectCount(String fileName);
}
